//
//  ViewController.m
//  iOS13Adapter
//
//  Created by yao zhaofeng on 2019/10/15.
//  Copyright © 2019 YaoZhaofeng. All rights reserved.
//

#import "ViewController.h"
#import "WIFIViewController.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

- (IBAction)btnClick:(id)sender {
    NSUInteger tag = ((UIButton *)sender).tag;
    switch (tag) {
        case 100:
        {
            WIFIViewController *wifiVC = [[WIFIViewController alloc] initWithNibName:@"WIFIViewController" bundle:[NSBundle mainBundle]];
            wifiVC.modalPresentationStyle = UIModalPresentationFullScreen;
            [self presentViewController:wifiVC animated:YES completion:^{
                
            }];
        }
            break;
            
        default:
            break;
    }
}

@end
